import InputText from './InputText.vue'
import InputPassword from './InputPassword.vue'
import InputTextarea from './InputTextarea.vue'
import InputNumber from './InputNumber.vue'
import InputCounter from './InputCounter.vue'
import InputRate from './InputRate.vue'
import InputSlider from './InputSlider/InputSlider.vue'
import InputSwitch from './InputSwitch.vue'
import InputDate from './InputDate.vue'
import InputCheckbox from './InputCheckbox.vue'
import InputRadio from './InputRadio.vue'
import InputSelect from './InputSelect.vue'
import InputCombo from './InputCombo/InputCombo.vue'
import InputDatePicker from './InputDatePicker'

let exportObject = {
  InputPassword,
  InputText,
  InputTextarea,
  InputNumber,
  InputCounter,
  InputRate,
  InputSlider,
  InputSwitch,
  InputDate,
  InputCheckbox,
  InputRadio,
  InputSelect,
  InputCombo,
  InputDatePicker: InputDatePicker.DatePicker,
  RegComponent: regComponent
}

function regComponent (name, component) {
  exportObject[name] = component
}

export default exportObject
